Release 10.1A: OpenEdge Development:
Java Open Clients
Getting SDOResultSet column values
These methods return data from a specified column on an SDOResultSet according to the specified data type. All column access methods in SDOResultSet use the flat model (see OpenEdge Development: Open Client Introduction and Programming ). The column is specified by name (
columnName) or number (columnIndex):
BigDecimal getBigDecimal(intcolumnName)- BigDecimal getBigDecimal(String
columnName)- boolean getBoolean(int
columnName)- boolean getBoolean(String
columnName)- byte[] getBytes(int
columnName)- byte[] getBytes(String
columnName)- double getDouble(int
columnName)- double getDouble(String
columnName)- int getInt(int
columnName)- int getInt(String
columnName)- java.sql.Blob getBlob(int
columnName)- java.sql.Blob getBlob(string
columnName)- java.sql.Clob getClob(int
columnName)- java.sql.Clob getClob(string
columnName)- java.sql.Date getDate(int
columnName)- java.sql.Date getDate(String
columnName)- java.sql.Timestamp getTimestamp(int
columnName)- java.sql.Timestamp getTimestamp(String
columnName)long getLong(intcolumnName)- long getLong(String
columnName)- Object getObject(int
columnName)- Object getObject(String
columnName)- String getString(int
columnName)- String getString(String
columnName)Some
java.util.Dateandjava.sql.Datemethods are being deprecated by JavaSoft in favor of using the more robustjava.util.GregorianCalendar. These are the methods that get column values for instances of this class:For more information on the mapping between 4GL and Java data types, see the sections on data type mapping for temp-table fields and passing
OUTPUTTABLEparameters in Chapter 4, " Passing Parameters."
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |